package com.webcash.CNBoard.Repository;

import java.util.List;

import com.webcash.CNBoard.Model.Work;
import com.webcash.CNBoard.Model.WorkTracer;

public interface WorkTracerRepository {

	void insertWorkTracer(WorkTracer tracer);

	WorkTracer selectWorkTracerByDownerWorkNo(int workNo);

	WorkTracer getWorkTracerByRelationNo(int relationNo);

	void modifyWorkTracer(WorkTracer tracer);

	void deleteWorkTracerByRelationNo(int relationNo);

	List<Work> selectDownerWorkListByProjectNoAndWorkNo(int projectNo,
			int workNo);

	void insertWorkTracerWithUpperwork(int workNo, int projectNo,
			int upperWorkNo);
	List<Work> getWorkListByProjectNo(int projectNo);

	void deleteWorkTracerByWorkNo(int workNo);
}
